<?php $form = $this->beginWidget('ActiveForm', $formConfig); ?>
    
<?php
    echo $form->alert($post, array(
        'errorMessageHtmlOptions' => array('class' => 'alert alert-danger'),
        'flashHtmlOptions' => array('class' => 'alert alert-'),
    ));
?>

        <?php echo $form->labelEx($post, 'message_', array('class' => 'col-sm-2 control-label')); ?>
            <?php echo $form->textArea($post, 'message_', array('rows' => 6, 'cols' => 50, 'class' => 'form-control')); ?>
        <?php //echo $form->error($post, 'message_'); ?>

        <?php echo $form->labelEx($post, 'image_', array('class' => 'col-sm-2 control-label')); ?>
        <div class="col-sm-2">
            <?php echo $form->singleImageUpload($post, 'image_'); ?>
        </div>
        <?php //echo $form->error($post, 'image_'); ?>
        
        
<div class="form-group">
        <div class="col-sm-offset-2 col-sm-6">
            <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-floppy-save"></span> <?php echo $post->isNewRecord ? Lang::t('news.create.btn.submit') : Lang::t('news.update.btn.submit'); ?></button>
        </div>
    </div>        
        
<?php $this->endWidget(); ?>